/*
* @Author: liqs
* @Date:   2021/10/13 14:59
 */
package dataset

import "github.com/Go-Server/datasource/dataset/Attribute"

type Dataset struct {
	name       string
	datatype   string
	bounds     interface{}
	prj        interface{}
	fieldInfos Attribute.AttributeInfos
}

func (dataset *Dataset) FieldInfos() Attribute.AttributeInfos {
	return dataset.fieldInfos
}

func (dataset *Dataset) SetFieldInfos(fieldInfos Attribute.AttributeInfos) {
	dataset.fieldInfos = fieldInfos
}

func (d *Dataset) Prj() interface{} {
	return d.prj
}

func (d *Dataset) SetPrj(prj interface{}) {
	d.prj = prj
}

func (d *Dataset) Bounds() interface{} {
	return d.bounds
}

func (d *Dataset) SetBounds(bounds interface{}) {
	d.bounds = bounds
}

func (d *Dataset) Datatype() string {
	return d.datatype
}

func (d *Dataset) SetDatatype(datatype string) {
	d.datatype = datatype
}

func (d *Dataset) Name() string {
	return d.name
}

func (d *Dataset) SetName(name string) {
	d.name = name
}
